package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.AttachType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 附件vo
 *
 * @author linyangping
 * @create 2019-10-21 16:27
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "附件VO")
public class AttachVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("附件类型")
    private AttachType type;

    @ApiModelProperty("相对应的url地址")
    private String url;

    @ApiModelProperty("文件名")
    private String name;

}
